package com.example.game1.rooms;

import java.util.ArrayList;

import android.content.Context;

import com.example.game1.R;
import com.example.game1.models.RoomSprite;



public class Level1 extends Room
{	
	public Level1(Context context) 
	{
		/*
		 * This constructor is called when we are sending the "Room" to the GridManager
		 * When we call 'new Level1()', this is when the sprites will be created and
		 * loaded into memory
		 */
		
		// This room will be 30 grid spaces wide and 50 grid spaces tall
		super(context, 30, 50);
		
		setBackgroundResource(R.drawable.level1_background);
		
		// RoomSprite syntax is 'new RoomSprite(gridX, gridY, drawableResource)
		
		addSprite(new RoomSprite(3, 4, R.drawable.bush1));
		addSprite(new RoomSprite(1, 1, R.drawable.bush1));
		addSprite(new RoomSprite(0, 0, R.drawable.bush1));
		addSprite(new RoomSprite(1, 0, R.drawable.bush1));
		
		addSprite(new RoomSprite(1, 6, R.drawable.tree1));
		addSprite(new RoomSprite(3, 8, R.drawable.tree1));
		
		addSprite(new RoomSprite(4, 0, R.drawable.rock1));
		addSprite(new RoomSprite(0, 8, R.drawable.rock1));
		
	}
}
